/**
 * 
 */
package com.etlmaster.executor.steps.func;

import com.etlmaster.datax.common.utils.StringUtil;
import com.etlmaster.executor.StepMeta;

/**
 * @author MeiKefu
 * @date 2014-9-4
 */
public class SleepStepMeta extends StepMeta{

	private String seconds;//休眠的秒
	
	public SleepStepMeta(String id, String name,String step_code, String session_id, String paramStr) {
		super(id, name,step_code, session_id, paramStr);
	}

	public Integer getSecond() {
		String sec= variableSubstitution(seconds);
		if(StringUtil.isNumberic(sec))
		{
			return  Integer.valueOf(sec);
		}else{
			return null;
			
		}
	}
	public void setSeconds(String seconds) {
		this.seconds = seconds;
	}

	@Override
	protected void loadParamsFromConfigTable() {
		
	}
}
